package com.guoxin.part1.chapter8;

/**
 * 创建线程的工厂
 *
 * @author guoxin
 * @date 2019/8/29
 */
public interface ThreadFactory {

    /**
     * 创建线程
     *
     * @param runnable Runnable
     * @return Thread
     */
    Thread createThread(Runnable runnable);
}
